package com.elric.mall.mapper;

import com.elric.mall.model.ZgFundingInvestment;
import com.elric.mall.model.ZgFundingInvestmentExample;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
@Mapper
public interface ZgFundingInvestmentMapper {
    long countByExample(ZgFundingInvestmentExample example);

    int deleteByExample(ZgFundingInvestmentExample example);

    int deleteByPrimaryKey(String id);

    int insert(ZgFundingInvestment record);

    int insertBatch(List<ZgFundingInvestment> records);

    int insertSelective(ZgFundingInvestment record);

    List<ZgFundingInvestment> selectByExample(ZgFundingInvestmentExample example);

    ZgFundingInvestment selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") ZgFundingInvestment record, @Param("example") ZgFundingInvestmentExample example);

    int updateByExample(@Param("record") ZgFundingInvestment record, @Param("example") ZgFundingInvestmentExample example);

    int updateByPrimaryKeySelective(ZgFundingInvestment record);

    int updateByPrimaryKey(ZgFundingInvestment record);
}